package com.tutucms.common.tree;

import java.util.List;

/**
 * 树节点 Created by wangxudong on 2020/3/28.
 */
public interface TreeNode extends Comparable<TreeNode> {

    List<TreeNode> getChildren();

    void setChildren(List<TreeNode> children);

    String getId();

    String getParentId();

}
